home *** CD-ROM | disk | FTP | other *** search
-
-
-
- CMP ST-UNIX User's Manual CMP
-
-
-
- COMMAND
- cmp - file comparator.
-
- FORMAT
- cmp [ -l ] [ -s ] file1 file2
-
- DESCRIPTION
- The two files are compared with value 0 returned if they are
- the same, 1 otherwise. Specifying a `-' for _✓f_✓i_✓l_✓e_✓1 will
- cause standard input to be read instead. _✓C_✓m_✓p acts quietly
- if the files are equivalent. If they are different, then
- the byte and line number of the first difference is printed
- and unless the -l option is used _✓c_✓m_✓p will exit.
-
- Options:
-
- -l Gives the byte number (in decimal) and the differing
- bytes (in octal) for each difference.
-
- -s Acts quietly even if files are different.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Printed 28/March/1988 30 March 1987 1
-
-
-
-